<?php
namespace Categories\Form;

use Zend\Form\Form;

class CategoriesForm extends Form{

    public function __construct($name = null){
        parent::__construct('AdminCategories');
        $this->setAttribute('method','post');
        $this->add(array(
            'name'=> 'Title',
            'attributes' =>array(
                'type'=>'Text'
            ),
        ));
        $this->add(array(
            'name' => 'submit',
            'attributes' => array(
                'type'  => 'submit',
                'value' => 'Go',
                'id' => 'submitbutton',
            ),
        ));
    }
}
